/* deviceInfo.wxss */
@import "../common/common.scss";
.device-info-page {
  background: linear-gradient(180deg, #cee2f6 0%, #3ea0fe 40%);
  background-color: #f8f9fa;
  padding-top: calc(env(safe-area-inset-top) + 160rpx);
  padding-bottom: env(safe-area-inset-bottom);
  position: relative;
  box-sizing: border-box;
}
.score-section {
  margin-bottom: 32rpx;
}

.outside {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background: #a6d2fc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.score-circle {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.score-circle::before {
  width: 100%;
  height: 100%;
  position: absolute;
  content: '';
  border-radius: 50%;
  left: 0;
  top: 0;
  background: rgba(255, 255, 255, .7);
  animation: ripple 1.2s ease-out infinite;
  transform: scale(0);
  opacity: 0;
  display: none;
}

.score-circle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  animation: ripple 1.5s ease-out 0.3s infinite;
  display: none;
}

.score-circle.showAnimate::before,
.score-circle.showAnimate::after {
  display: block;
}
.resultScore{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.resultScore .label{
  color: #adb5bd;
  font-size: 24rpx;
  font-weight: bold;
}
.stats-row .label {
  font-size: 24rpx;
  color: rgba(255, 255, 255, .5);
}

.number {
  font-size: 62rpx;
  font-weight: bold;
}

.number.green,.icon-correct_2,.icon-correct-fill {
  color: #61E054;
}

.number.red,.icon-Alert ,.icon-alert-fill{
  color: #D92400;
}

.number.orange {
  color: #ff976a;
}

.unit {
  font-size: 24rpx;
  color: #666;
}

.testButton {
  font-weight: bold;
  position: relative;
  z-index: 9;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  color: #fff;
  margin-bottom: 12px;
}

.stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.stat-item::after {
  content: "";
  display: block;
  width: 1px;
  height: 40rpx;
  background: rgba(255, 255, 255, .2);
  margin: 0 auto;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.stat-item:last-child::after {
  display: none;
}

.value {
  font-size: 28rpx;
  font-weight: bold;
  margin-bottom: 8rpx;
}

.bottom-section {
  background: #fff;
  border-radius: 32rpx 32rpx 0 0;
  padding: 20px 0;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}

.list-item {
  padding: 14px 29px;
  color: #343a40;
  font-size: 12px;
}

.single {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12rpx 0;
}

.item-right {
  display: flex;
  align-items: center;
  gap: 8rpx;
}

.subView .single {
  margin-left: 2em;
}
.subView .iconfont{
  font-size: 24rpx;
}
@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.6);
    opacity: 0.3;
  }

  100% {
    transform: scale(2.0);
    opacity: 0;
  }
}